@import '../reset.less';
@import '../index.less';
@import '../variable.less';
body{
    .clearfix();
    &.dark-theme {
        .leftside {
            background-color: #1f1f1f;
            .logo span {
                color: #fff;
            }
        }
        .top-nav {
            background-color: #1f1f1f;
        }
        .main-content {
            background-color: #141414;
        }
    }
}
.leftside{
    width: 15%;
    height: 100vh;
    background-color: #f6f6f6;
    transition: all 0.6s ease;
    text-wrap: nowrap;
    .leftfix();
    .logo{
        width: 100%;
        height: 60px;
        padding: 8px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        overflow: hidden;
        img{
            height: 100%;
        }
        span{
            font-size: 20px;
            color: #2a2a2a;
            margin-left: 10px;
            text-align: center;
            transition: all 0.6s ease;
        }
    }
    &.fold{
        width: 3%;
        height: 100%;
        span{
            color: #f6f6f6;
        }
    }
}
.top-nav{
    width:85%;
    height: 60px;
    .leftfix();
    transition: all 0.6s ease;
    background-color: #FAFAFA;
    &.fold{
        width: 97%;
    }
}
.main-content{
    width:85%;
    height: calc(100vh - 60px);
    .leftfix();
    transition: all 0.6s ease;
    &.fold{
        width: 97%;
    }
}


